﻿
@{
    Layout = "~/Views/Shared/Index.cshtml";
}
@model  YaYun.Models.Employee


<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>xq</title>
    <style>
        .well {
            background-color: #fff;
            /*   border: 1px solid #ccc;*/
            -webkit-box-shadow: 1px 1px 0px #ffffff;
            -moz-box-shadow: 1px 1px 0px #ffffff;
            box-shadow: 1px 1px 0px #ffffff;
            -webkit-border-radius: 0px;
            -moz-border-radius: 0px;
            border-radius: 0px;
            -moz-background-clip: padding;
            -webkit-background-clip: padding-box;
            background-clip: padding-box;
            height: 50vh;
            width: 50vh;
        }

        h1 {
            margin: 1em 0em;
            padding: 0em;
            line-height: 1em;
            font-size: 1.5em;
            color: #eee;
            color: #333;
        }

        #editBox {
            margin-left: 200px;
        }
    </style>
    <script>
        function UpdateEmplo(id) {
            window.location = ("/home/UpdateEmployee?id=" + id)
        }
    </script>
</head>
<body>
    <a href="/home/AllEmployeeADDsalary" class="btn btn-link">
        <img src="~/images/图标/箭头左_arrow-left.png" style="height:30px" />
    </a>
    <fieldset>
        <div id="editBox">
            <h3>用户详情信息</h3>
            @using (Html.BeginForm("ADDSalary", "home"))
            {
                <table class="well">
                    <tr>
                        <th>姓&emsp;&emsp;名：</th>
                        <td>
                            <input class="form-control" type="text" maxlength="11" required name="employee_id" value="@Model.EmployeeName" />
                        </td>
                    </tr>
                    <tr>
                        <th>金&emsp;&emsp;额：</th>
                        <td>
                            <input class="form-control" type="text" maxlength="11" required name="amount" value=" " />
                        </td>
                    </tr>
                    <tr>
                        <th>发放日期</th>
                        <td>

                            <input class="form-control" type="date" maxlength="11" required name="Paytime" value=" " />
                        </td>

                    </tr>
                    <tr>
                        <th>发放方式</th>
                        <td>

                            <input class="form-control" type="text" maxlength="11" required name="Salary_play_method" value="银行卡 " />
                        </td>
                    </tr>
                    <tr>
                        <th>卡&emsp;&emsp;号：</th>
                        <td>
                            <input class="form-control" type="text" maxlength="11" required name="bank" value=" " />
                        </td>
                    </tr>

                </table>
                <br />               
                <a href="/home/ADDSalary" class="btn btn-link">添加</a>
            }
        </div>
    </fieldset>
    <script>
       
    </script>


</body>
</html>
